package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Food;

public interface FoodService {

    //分页查询
    PageResult pageQuery(QueryPageBean queryPageBean);

    //添加
    void add(Food food);

    //根据id删除食物项
    void deleteById(Integer id);
}
